package com.mapper;

import com.dto.AttendeeDTO;
import com.pojo.Attendee;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AttendeeMapper {
	


    int insertAttendee(Attendee attendee);

    List<AttendeeDTO> getAttendeeList(Map map);

    Attendee getAttendee(@Param("uid") Integer uid,
                         @Param("mid") Integer mid);

    int updateByPrimaryKeySelective(Attendee attendee);


    int getAttendeeCount(@Param("mid") Integer mid,
                         @Param("readStatus") String readStatus,
                         @Param("checkStatus") String checkStatus );

    int delete(Integer mid);
}